package gdr.action.descriptor;


public class Bonus {
	public static int MISS = 0;
	public static int HIT = 1;
	public static int CRITICAL = 2;
	
	protected int[] bonus;
	public Bonus(){
		bonus = new int[3];
	}
	
	public void setVal(int tipo, int val){
		bonus[tipo] = val;
	}
	public int getBonus(int tipo){
		return bonus[tipo];
	}

	public int[] getBonus() {
		return bonus;
	}

	public void setBonus(int[] bonus) {
		this.bonus = bonus;
	}
}
